package com.ruoyi.legal.mapper;

import java.util.List;
import com.ruoyi.legal.domain.PracticeRecordsListView;

/**
 * recordsMapper接口
 * 
 * @author xiaoxiao
 * @date 2025-07-01
 */
public interface PracticeRecordsListViewMapper 
{
    /**
     * 查询records
     * 
     * @param categoryName records主键
     * @return records
     */
    public PracticeRecordsListView selectPracticeRecordsListViewByCategoryName(String categoryName);

    /**
     * 查询records列表
     * 
     * @param practiceRecordsListView records
     * @return records集合
     */
    public List<PracticeRecordsListView> selectPracticeRecordsListViewList(PracticeRecordsListView practiceRecordsListView);

    /**
     * 新增records
     * 
     * @param practiceRecordsListView records
     * @return 结果
     */
    public int insertPracticeRecordsListView(PracticeRecordsListView practiceRecordsListView);

    /**
     * 修改records
     * 
     * @param practiceRecordsListView records
     * @return 结果
     */
    public int updatePracticeRecordsListView(PracticeRecordsListView practiceRecordsListView);

    /**
     * 删除records
     * 
     * @param categoryName records主键
     * @return 结果
     */
    public int deletePracticeRecordsListViewByCategoryName(String categoryName);

    /**
     * 批量删除records
     * 
     * @param categoryNames 需要删除的数据主键集合
     * @return 结果
     */
    public int deletePracticeRecordsListViewByCategoryNames(String[] categoryNames);
}
